<!DOCTYPE html>
<html>
    <head>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=2.0, user-scalable=yes" />
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta http-equiv="pragram" content="no-cache" />
        <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
        <meta http-equiv="expires" content="0" />
        <title></title>
        <script type="text/javascript">
            // 时间戳
            const _t = new Date().getTime().toString();

            // 获取URL参数的函数
            function getQueryParam(param) {
                const queryString = window.location.search.substring(1);

                const params = queryString.split('&');

                for (let i = 0; i < params.length; i++) {
                    const pair = params[i].split('=');

                    if (decodeURIComponent(pair[0]) === param) {
                        return decodeURIComponent(pair[1]);
                    }
                }

                return null;
            }

            const redirectTo = getQueryParam('redirectTo') || '/home';

            window.location.href = `/index.html?_t=${_t}#${redirectTo}`;
        </script>
    </head>
</html>
